package com.bristua.barcode.order.dao;

import com.bristua.barcode.order.model.TOrderFlow;
import com.bristua.barcode.order.model.condition.TOrderFlowExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TOrderFlowMapper {
    int countByExample(TOrderFlowExample example);

    int deleteByExample(TOrderFlowExample example);

    int deleteByPrimaryKey(String orderFlowId);

    int insert(TOrderFlow record);

    int insertSelective(TOrderFlow record);

    List<TOrderFlow> selectByExample(TOrderFlowExample example);

    TOrderFlow selectByPrimaryKey(String orderFlowId);

    int updateByExampleSelective(@Param("record") TOrderFlow record, @Param("example") TOrderFlowExample example);

    int updateByExample(@Param("record") TOrderFlow record, @Param("example") TOrderFlowExample example);

    int updateByPrimaryKeySelective(TOrderFlow record);

    int updateByPrimaryKey(TOrderFlow record);
}